source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!

platform :ios, '13.0'

target 'XNavigator_Example' do
  pod 'XNavigator', :path => '../'

  target 'XNavigator_Tests' do
    inherit! :search_paths
#
    pod 'Quick'  # https://github.com/Quick/Quick
    pod 'Nimble'  # https://github.com/Quick/Nimble
    pod 'RxBlocking'  # https://github.com/ReactiveX/RxSwift
  end
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '5.0' # 或你的目标版本
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
    end
  end
end
